package com.chen.mall.modules.ums.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

/**
 * 修改用户名密码参数
 * Created by macro on 2019/10/9.
 */
public class UpdateAdminPasswordParam {
    @NotEmpty
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @NotEmpty
    @ApiModelProperty(value = "旧密码", required = true)
    private String oldPassword;
    @NotEmpty
    @ApiModelProperty(value = "新密码", required = true)
    private String newPassword;

    public @NotEmpty String getUsername() {
        return this.username;
    }

    public @NotEmpty String getOldPassword() {
        return this.oldPassword;
    }

    public @NotEmpty String getNewPassword() {
        return this.newPassword;
    }

    public void setUsername(@NotEmpty String username) {
        this.username = username;
    }

    public void setOldPassword(@NotEmpty String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public void setNewPassword(@NotEmpty String newPassword) {
        this.newPassword = newPassword;
    }
}
